ABlocks\import\WP_Import D

Total Complexity 205
Dependencies 2
Dependents 1
Total lines 1,259
Lines of code 769
Logical lines of code 480
Comment lines 290
Methods 26
Properties 23

Methods 26

Method Rating Maintainability Complexity Lines of code
process_posts()
D
20
51 204
fetch_remote_file()
D
28
36 128
process_menu_item()
B
38 19 63
backfill_parents()
A
48 12 34
process_terms()
A
45 11 42
process_categories()
A
47 11 36
process_tags()
A
48 9 33
get_filename_from_disposition()
A
51 8 27
process_attachment()
S
48 6 32
get_authors_from_import()
S
56 5 18
process_termmeta()
S
56 5 18
get_file_extension_by_mime_type()
S
60 5 12
handle_upload()
S
59 4 14
import_start()
S
53 3 23
remap_featured_images()
S
64 4 10
import()
S
56 2 19
remove_gutenberg_styles()
S
62 2 12
import_end()
S
63 2 11
backfill_attachment_urls()
S
65 2 8
is_valid_meta_key()
S
70 2 6
parse()
S
76 1 4
allow_create_users()
S
79 1 3
allow_fetch_attachments()
S
79 1 3
max_attachment_size()
S
79 1 3
bump_request_timeout()
S
82 1 3
cmpr_strlen()
S
79 1 3